import os
import click


@click.group()
def cli():
    pass


@click.command()
@click.argument('remote')
@click.argument('tags', nargs=-1)
def fetch_tag(remote, tags):
    for tag in tags:
        os.system(f"git fetch {remote} tag {tag}")


cli.add_command(fetch_tag)

if __name__ == "__main__":
    cli()
